home *** CD-ROM | disk | FTP | other *** search
- Path: news.uh.edu!usenet
- From: Sensarn <txs53132@bayou.uh.edu>
- Newsgroups: comp.lang.c++
- Subject: Re: Borland C++ asm{labels}
- Date: 16 Jan 1996 03:51:55 GMT
- Organization: AEtna Insurance Agency
- Message-ID: <4df7cr$io9@masala.cc.uh.edu>
- References: <60114202823$71C7@lasernet.com>
- NNTP-Posting-Host: sip-14283.public-dialups.uh.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1 (Windows; U; 16bit)
-
- I had the same problem (we both have the same programming book too,
- huh? -- if you don't know what I'm talking about, then never mind). I
- used asm. Labels must go outside the brackets:
-
- asm {
- mov cx,100
- }
-
- loopme:
-
- asm {
- loopne
- }
-
- It does absolutely nothing (except decrement CX 100 times), but that
- should show you how to use labels.
-
- Steven Sensarn - txs53132@bayou.uh.edu
-
-
-